import java.IO*;
 public class StandardOut{
	 public static void main(String[] args)throws IOExpaection{
		 try(PrintStream printStream = new PrintStream{
			 new FileOutputStream(args[0]))){
				 System.out(PrintStream);
				 System.out.println("Hello world“）;
				}
			}
		}

